home *** CD-ROM | disk | FTP | other *** search
/ Club KidSoft Volume 3 #2 / CKSPCV32.BIN / movies / clubart.dir / 00032_Script_start original < prev    next >
Text File  |  1995-04-06  |  1KB  |  48 lines

  1. --Start Original Club Art
  2.  
  3. on enterFrame
  4.   -- puppet and make movable the moving parts
  5.   global gArtPlayOffStart
  6.   global gArtPlayOffEnd
  7.   global gSpriteReturnOver
  8.   global gSpriteReturnDown
  9.   global gSpritePlayOver
  10.   global gSpritePalyDown
  11.   global gSpriteNextOff
  12.   global gSpriteNextOver
  13.   global gSpriteNextDown
  14.   global gSpritePrevOff
  15.   global gSpritePrevOver
  16.   global gSpritePrevDown
  17.   global gSpriteThumb
  18.   global gArtPlayFirstTime
  19.   
  20.   set gArtPlayFirstTime to TRUE
  21.   
  22.   global gArtSprite1
  23.   global gArtSprite2
  24.   global gArtSprite3
  25.   global gArtSprite4
  26.   
  27.   set the puppet of sprite gArtSprite1 to FALSE
  28.   set the puppet of sprite gArtSprite2 to FALSE
  29.   set the puppet of sprite gArtSprite3 to FALSE
  30.   set the puppet of sprite gArtSprite4 to FALSE
  31.   clubArtButtonsOff
  32.   
  33.   -- are we at the beginning
  34.   if  the frame <= label ("Art First") then   --Prev Art
  35.     set the visible of sprite gSpritePrevOff to TRUE
  36.   end if
  37.   
  38.   -- are we at the end
  39.   if the frame >= label ("Art DR") then  --Next Art
  40.     set the visible of sprite gSpriteNextOff to TRUE
  41.   end if
  42.   preLoad marker(0) + 2 , marker(1) -1
  43.   updateStage
  44.   cursor 0
  45. end
  46. -- **********************************************
  47.  
  48.